package com.api.user.service;
import com.api.user.model.Companion;
import com.api.core.service.Service;
import com.api.core.response.Result;
import com.api.user.model.CompanionGame;
import com.api.user.model.CompanionPerfect;

import java.math.BigDecimal;
import java.util.Map;

/**
 * Created by wanghuiwen on 2021/04/02.
 */
public interface CompanionService extends Service<Companion> {
   Result list(Map<String, Object> params, String order, Integer page, Integer size);
   Result userList(Map<String, Object> params, String order, Integer page, Integer size);
   Result orderListUser(Map<String, Object> params, String order, Integer page, Integer size);
   Result reviewList(Map<String, Object> params, String order, Integer page, Integer size);

   Result apply(CompanionGame companionGame);
   Result statistics(Map<String, Object> params);
   Result perfect(CompanionPerfect companionPerfect);
   Result examine(Long companionId,String reason,Integer examine);
   Result buy(Long userId,Long companionGameId,Integer hours,Long startTime);
   Result agree(Long userId,Long companionOrderId,Boolean agree);
   Result orderComplete(Long companionOrderId);
   Result orderReview(Long companionOrderId, String evaluate, BigDecimal score, Long userId);

   Map<String,Object> detail(Long userId, Long fansId, Boolean service);

   Result ban(Long companionId, Boolean ban);
}
